package com.zl.test.restdemo.mapper;

import com.zl.test.restdemo.entity.MiddleStudent;
import com.zl.test.restdemo.entity.MiddleStudentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MiddleStudentMapper {
    int countByExample(MiddleStudentExample example);

    int deleteByExample(MiddleStudentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MiddleStudent record);

    int insertSelective(MiddleStudent record);

    List<MiddleStudent> selectByExample(MiddleStudentExample example);

    MiddleStudent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MiddleStudent record, @Param("example") MiddleStudentExample example);

    int updateByExample(@Param("record") MiddleStudent record, @Param("example") MiddleStudentExample example);

    int updateByPrimaryKeySelective(MiddleStudent record);

    int updateByPrimaryKey(MiddleStudent record);

    List<MiddleStudent> selectAll();
}